import request from '@/utils/request'

// 查询任务反馈列表
export function getAction(url, query) {
	return request({
		url,
		method: 'get',
		params: query
	})
}

export function postAction(url, data) {
	return request({
		url,
		method: 'post',
		data: data
	})
}

export function editAction(url, data) {
	return request({
		url,
		method: 'put',
		data: data
	})
}

export function removeAction(url, data) {
	return request({
		url: url + '/' + data,
		method: 'delete',
	})
}

export function detailAction(url, data) {
	return request({
		url: url + '/' + data,
		method: 'get',
	})
}